@import "../../styles/breakpoints";

.oauth-view {
    &_links {
        // padding: 10px;
        margin-top: 1rem;

        &_header {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;

            &_border {
                position: absolute;
                // width: 445px;
                width: 90%;
                height: 1px;
                top: calc(50% - 1px);
                background: black;
            }

            &_label {
                padding: 0 0.9rem;
                background: var(--white);
                z-index: 2;
                font-size: 1rem;
                font-weight: bold;
                line-height: 1.21rem;
            }
        }

        &_body {
            // padding: 0.7rem 0 0.1rem;
            padding: 0.7rem 1rem;

            label {
                font-size: 1rem;
            }

            & .links {
                display: grid;
                grid-template-columns: 47.5% 47.5%;
                grid-gap: 0.53rem 1.2rem;
                margin-top: 0.7rem;

                & .link {
                    display: flex;
                    align-items: center;
                    // padding: 0 2.4rem;
                    padding: 0 2rem;
                    background-color: var(--light);
                    border: 1px solid #414d5e;
                    border-radius: 7px;
                    height: 3rem;
                    box-sizing: border-box;

                    img {
                        width: 1.86rem;
                        height: 1.72rem;
                        margin-right: 0.92rem;
                    }

                    label {
                        font-size: 1.21rem;
                    }

                    &.google {
                        // padding: 0 2.5rem;
                        padding: 0 2rem;

                        img {
                            width: 1.6rem;
                            height: 1.6rem;
                        }
                    }

                    &.github {
                        // padding: 0 2.9rem;
                        padding: 0 2rem;

                        img {
                            width: 2.05rem;
                            height: 2rem;
                        }
                    }

                    &.linkedin {
                        // padding: 0 3.1rem;
                        padding: 0 2rem;

                        img {
                            width: 1.71rem;
                            height: 1.71rem;
                        }
                    }
                }
            }
        }
    }
}
